%~d0
cd %~dp0\weigh_python
git pull

::python main2.py --code test

start /B pythonw main.py --code test

exit /B